package edu.ccut.titan.tag.report.exporter;

import javax.servlet.http.HttpServletResponse;

import net.sf.jasperreports.engine.JRAbstractExporter;
import net.sf.jasperreports.engine.export.JRPdfExporter;

public class PDFReportExporter extends AbstractReportExporter {

	@Override
	protected JRAbstractExporter creatExporter() {
		return new JRPdfExporter();
	}

	@Override
	protected void setContentType(HttpServletResponse response) {
		response.setContentType("application/pdf");
	}
}
